package com.sinochem.iot.rule.model;

import java.util.Date;

public class RuleAction {
    /**
     * 
     */
    private Integer id;

    /**
     * 规则id
     */
    private Integer ruleid;

    /**
     * 执行动作类型
     */
    private Byte actionType;

    /**
     * 存储位置
     */
    private Byte storeDesc;

    /**
     * 产品
     */
    private Integer product;

    /**
     * 设备
     */
    private String device;

    /**
     * 属性
     */
    private String attr;

    /**
     * 属性值
     */
    private String attrValue;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    private Date createTime;

    /**
     *
     * @mbggenerated
     */
    public RuleAction(Integer id, Integer ruleid, Byte actionType, Byte storeDesc, Integer product, String device, String attr, String attrValue, Date updateTime, Date createTime) {
        this.id = id;
        this.ruleid = ruleid;
        this.actionType = actionType;
        this.storeDesc = storeDesc;
        this.product = product;
        this.device = device;
        this.attr = attr;
        this.attrValue = attrValue;
        this.updateTime = updateTime;
        this.createTime = createTime;
    }

    /**
     *
     * @mbggenerated
     */
    public RuleAction() {
        super();
    }

    /**
     * 
     * @return id 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 规则id
     * @return ruleId 规则id
     */
    public Integer getRuleid() {
        return ruleid;
    }

    /**
     * 规则id
     * @param ruleid 规则id
     */
    public void setRuleid(Integer ruleid) {
        this.ruleid = ruleid;
    }

    /**
     * 执行动作类型
     * @return action_type 执行动作类型
     */
    public Byte getActionType() {
        return actionType;
    }

    /**
     * 执行动作类型
     * @param actionType 执行动作类型
     */
    public void setActionType(Byte actionType) {
        this.actionType = actionType;
    }

    /**
     * 存储位置
     * @return store_desc 存储位置
     */
    public Byte getStoreDesc() {
        return storeDesc;
    }

    /**
     * 存储位置
     * @param storeDesc 存储位置
     */
    public void setStoreDesc(Byte storeDesc) {
        this.storeDesc = storeDesc;
    }

    /**
     * 产品
     * @return product 产品
     */
    public Integer getProduct() {
        return product;
    }

    /**
     * 产品
     * @param product 产品
     */
    public void setProduct(Integer product) {
        this.product = product;
    }

    /**
     * 设备
     * @return device 设备
     */
    public String getDevice() {
        return device;
    }

    /**
     * 设备
     * @param device 设备
     */
    public void setDevice(String device) {
        this.device = device == null ? null : device.trim();
    }

    /**
     * 属性
     * @return attr 属性
     */
    public String getAttr() {
        return attr;
    }

    /**
     * 属性
     * @param attr 属性
     */
    public void setAttr(String attr) {
        this.attr = attr == null ? null : attr.trim();
    }

    /**
     * 属性值
     * @return attr_value 属性值
     */
    public String getAttrValue() {
        return attrValue;
    }

    /**
     * 属性值
     * @param attrValue 属性值
     */
    public void setAttrValue(String attrValue) {
        this.attrValue = attrValue == null ? null : attrValue.trim();
    }

    /**
     * 
     * @return update_time 
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 
     * @param updateTime 
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 
     * @return create_time 
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 
     * @param createTime 
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}